package com.elong.spring.proxy;

public class ForumServiceAOPImpl implements ForumService{

    @Override
    public void removeTopic(int topicId) {
	System.out.println("模拟删除Topic记录:" + topicId);
	try {
	    Thread.sleep(2000);
	} catch (Exception e) {
	    throw new RuntimeException();
	}
    }

    @Override
    public void removeForum(int forumId) {
	System.out.println("模拟删除Forum记录:" + forumId);
	try {
	    Thread.sleep(4000);
	} catch (Exception e) {
	    throw new RuntimeException();
	}
    }

}
